import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import { connect } from 'dva'
import { Layout, Spin, Row, Col, Card, Button, Skeleton } from 'antd'
import { OrganizationTree } from '@/components'
import OrganizaInfo from './organizaInfo'
import OrgInsiders from './orgInsiders/orgInsiders'
import "./index.less"

const { Content } = Layout;

@connect(({ loading, dispatch, app }) => ({
  // reloading: loading.effects['app/getUser'],
}))
// @Form.create()
class Myorganiza extends PureComponent {
    // const { messageList } = app
    render(){
      return (
        <React.Fragment>
          <Row>
            <Col>
              <Button style={{marginRight:"10px"}}>公司加入的申请( 12 )</Button>
              <Button>用户加入的申请( 8 )</Button>
            </Col>
            <OrganizaInfo />
            <Card
              style={{ marginTop: 16 }}
              type="inner"
              title="组织内的公司"
            >
            </Card>
            <OrgInsiders />
          </Row>
        </React.Fragment>
      )
    }
  }

  export default Myorganiza;
